nhooyr.io/websocket.Conn.writeHeader (field)
12 uses
nhooyr.io/websocket (current package)
conn.go#L71: writeHeader header
write.go#L291: c.writeHeader.fin = fin
write.go#L292: c.writeHeader.opcode = opcode
write.go#L293: c.writeHeader.payloadLength = int64(len(p))
write.go#L296: c.writeHeader.masked = true
write.go#L301: c.writeHeader.maskKey = binary.LittleEndian.Uint32(c.writeHeaderBuf[:])
write.go#L304: c.writeHeader.rsv1 = false
write.go#L306: c.writeHeader.rsv1 = true
write.go#L309: err = writeFrameHeader(c.writeHeader, c.bw, c.writeHeaderBuf[:])
write.go#L319: if c.writeHeader.fin {
write.go#L341: if !c.writeHeader.masked {
write.go#L345: maskKey := c.writeHeader.maskKey
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |